<?php

use Hyperf\HttpServer\Router\Router;

Router::addGroup('/file/',function (){
    Router::post('upload',[\App\Controller\System\FileController::class,'upload']);
    Router::get('download/{fileId}',[\App\Controller\System\FileController::class,'download']);
});